package gw.com.android.utils;

import android.content.Context;

/**
 * Created by aries.zhan on 2017/3/20.
 * 友盟事件统计
 */

public class MobclickEventUtlis {
    private MobclickEventUtlis(){}

    /**
     *  区分账户类型统计按钮点击事件
     * @param context 当前context
     * @param eventId 事件id
     */
    public static void MobclickEventByAccountType(Context context, String eventId){
        /*StringBuffer eventKey = new StringBuffer();
        if (GTConfig.instance().getAccountType() == GTConfig.ACC_TYPE_REAL){
            eventKey.append("Account_real_");
        }else if(GTConfig.instance().getAccountType() == GTConfig.ACC_TYPE_DEMO){
            eventKey.append("Account_demo_");
        }else{
            eventKey.append("Account_tourist_");
        }
        eventKey.append(eventId);
        MobclickEvent(context,eventKey.toString());*/
    }

    /**
     *  统计按钮点击事件
     * @param context 当前context
     * @param eventId 事件id
     */
    public static void MobclickEvent(Context context, String eventId){
        //MobclickAgent.onEvent(context,eventId);
    }

}
